﻿using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class House
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房间号
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 状态
        /// 1 可预定
        /// 2 售罄
        /// </summary>
        public int State { get; set; } = 1;
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }
        public bool IsDelete { get; set; }=false;
        /// <summary>
        /// 房型
        /// </summary>
        public int TypeId { get; set; }
    }
}
